package org.dxy.domain.model.valobj;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 工单状态枚举
 */
@Getter
@AllArgsConstructor
public enum WorkOrderStatusEnum {
    CREATED("created", "已创建"),
    READY("ready", "准备完成"),
    RELEASED("released", "已下达"),
    STARTED("started", "生产中"),
    SUSPENDED("suspended", "已暂停"),
    COMPLETED("completed", "已完成"),
    CLOSED("closed", "已关闭"),
    CANCELLED("cancelled", "已取消");

    private final String key;
    private final String description;
}